package com.itheima.service;


import com.itheima.dao.GoodsDao;
import com.itheima.domain.Goods;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Goods 业务层
 *
 * @author Chengfei
 * @date 2020/8/23 23:31
 */
@Service
public class GoodsService {

    @Autowired
    private GoodsDao goodsDao;

    public Goods findOne(int id){
        return goodsDao.findOne(id);
    }

}
